Description
Manage AWS MSSQL privileged accounts. The plug-in will authenticate to an AWS MSSQL RDS Instance via ODBC.
Vendor
This platform is designed for remote account management for the following target:
| Vendor | Microsoft |
|---|---|
| Product | SQL Server 2019 |
| Product Category | Database |
| Product Versions | 2019 |
CyberArk
This platform works with the following CyberArk versions:
| CyberArk Solution | Privileged Credentials Management |
|---|---|
| CyberArk Product | Central Policy Manager (CPM) |
| CyberArk Versions | 9.x, 10.x, 11.x, 12.x |
| Artifact Version | 1.0 |
| Out of the Box | NO |
| Out of the Box in versions | N/A |
| Available in Privilege Cloud | YES |
Support & Certification
| Support Level | STANDARD |
|---|---|
| Developed by | CyberArk |
| Certification Level | CERTIFIED |
| Connection Methods | HTTPS |
Actions
The following table lists the supported management actions for this platform:
| Action | Supported | Permissions |
|---|---|---|
| Verify | YES | |
| Change | YES | |
| Reconcile | YES | |
| Delete | NO |
Linked Accounts
The following linked accounts are in use by the plugin.
Logon Account
| Supported | NO |
|---|---|
| Required | NO |
| Platforms | |
| Permissions |
Reconcile Account
| Supported | YES |
|---|---|
| Required | NO |
| Platforms | |
| Permissions |
Prerequisites
The following prerequisites are required on the machine that runs this plugin:
Microsoft SQL Server 32-bit ODBC Driver (v18.3) installed on the CPM machine. Verify that the firewall rules \ ports are opened to the AWS MSSQL instance by testing the ODBC Driver on the CPM machine
Continue with prerequisites if MSSQL is deployed on a Windows machines
You will need to import SSL certificate bundle or individual certificates for each region you have deployments or failovers. Encypt=No is no longer supported in SQL Server ODBC version 18.3.
- Obtain your SSL certificates by navigating to the following AWS documentation
- Scroll down to "Certificate bundles for all AWS Regions" and download the PKCS7 certificate bundle.
- Note: For Windows servers you must use the PKCS7 bundle instead of the pem bundle.
- Transfer the certificate bundle to your CPM server.
- Import certificate bundle on CPM server
On the Start menu, type
Runin the search box and press Enter.In the Open box, type
MMCand then choose OK.In the MMC console, on the File menu, choose Add/Remove Snap-in.
In the Add or Remove Snap-ins dialog box, for Available snap-ins, select
Certificates, and then choose Add.In the Certificates snap-in dialog box, choose Computer account, and then choose Next.
In the Select computer dialog box, choose Finish.
In the Add or Remove Snap-ins dialog box, choose OK.
In the MMC console, expand Certificates, open the context (right-click) menu for Trusted Root Certification Authorities, choose All Tasks, and then choose Import.
On the first page of the Certificate Import Wizard, choose Next.
On the second page of the Certificate Import Wizard, choose Browse. In the browse window, change the file type to All files (*.*). Locate the .pk7 file that you transferred/downloaded in step 2/3.
Choose Open to select the certificate file, and then choose Next.
On the third page of the Certificate Import Wizard, choose Next.
On the fourth page of the Certificate Import Wizard, choose Finish. A dialog box appears indicating that the import was successful.
In the MMC console, expand Certificates, expand Trusted Root Certification Authorities, and then choose Certificates. Locate the certificate to confirm it exists, as shown here.
You can read more about set up in AWS's Using SSL with a Microsoft SQL Server DB instance documentation.
Configuration
Platform Settings
Specify the following parameters at the platform level:
| Parameter Name | Description | Acceptable Values | Default Value |
|---|---|---|---|
| Port | The port used to connect to the AWS MSSQL instance | Integer | 1433 |
| ConnectionCommand | The ODBC connection string which will include the ODBC Driver and connection details | Driver={ODBC Driver 18 for SQL Server};Server=%ADDRESS%,%PORT%;Database=%DATABASE%;UId=%USER%;Pwd=%LOGONPASSWORD% | |
| ChangeCommand | The legal SQL statement template that will be used to change the password on the required database. | SQL Statement | sp_password '%OLDPASSWORD%', '%NEWPASSWORD%'; |
| ReconcileCommand | The legal SQL statement template that will be used to reconcile the password on the required database. | SQL Statement | sp_password @new='%NEWPASSWORD%', @loginame='%USER%'; |
| Debug | To enable debug logs | Yes, No | No |
Account Settings
Account Mandatory Parameters
Specify the following parameters on the account:
| Parameter Name | Description |
|---|---|
| Username | Username of the target account |
| Address | Address of the AWS MSSQL instance |
| Database | The database to connect to |